﻿using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MedianSocketService
{
    public static class ConfigurationHelper
    {
        public static IConfiguration Configuration { get; set; }

        public static IConfiguration GetConfiguration(string keyfile)
        {
            return new ConfigurationBuilder().AddJsonFile(keyfile).Build();
        }
    }
}
